3.4.90 \(\int \frac {(A+B x) (a+c x^2)}{x^{5/2}} \, dx\) [390]

Optimal. Leaf size=41 \[ -\frac {2 a A}{3 x^{3/2}}-\frac {2 a B}{\sqrt {x}}+2 A c \sqrt {x}+\frac {2}{3} B c x^{3/2} \]

[Out]

-2/3*a*A/x^(3/2)+2/3*B*c*x^(3/2)-2*a*B/x^(1/2)+2*A*c*x^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 41, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {780} \begin {gather*} -\frac {2 a A}{3 x^{3/2}}-\frac {2 a B}{\sqrt {x}}+2 A c \sqrt {x}+\frac {2}{3} B c x^{3/2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((A + B*x)*(a + c*x^2))/x^(5/2),x]

[Out]

(-2*a*A)/(3*x^(3/2)) - (2*a*B)/Sqrt[x] + 2*A*c*Sqrt[x] + (2*B*c*x^(3/2))/3

Rule 780

Int[((e_.)*(x_))^(m_.)*((f_.) + (g_.)*(x_))*((a_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIntegrand[(e*x
)^m*(f + g*x)*(a + c*x^2)^p, x], x] /; FreeQ[{a, c, e, f, g, m}, x] && IGtQ[p, 0]

Rubi steps

\begin {align*} \int \frac {(A+B x) \left (a+c x^2\right )}{x^{5/2}} \, dx &=\int \left (\frac {a A}{x^{5/2}}+\frac {a B}{x^{3/2}}+\frac {A c}{\sqrt {x}}+B c \sqrt {x}\right ) \, dx\\ &=-\frac {2 a A}{3 x^{3/2}}-\frac {2 a B}{\sqrt {x}}+2 A c \sqrt {x}+\frac {2}{3} B c x^{3/2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 32, normalized size = 0.78 \begin {gather*} \frac {2 \left (-a A-3 a B x+3 A c x^2+B c x^3\right )}{3 x^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((A + B*x)*(a + c*x^2))/x^(5/2),x]

[Out]

(2*(-(a*A) - 3*a*B*x + 3*A*c*x^2 + B*c*x^3))/(3*x^(3/2))

________________________________________________________________________________________

Maple [A]
time = 0.07, size = 30, normalized size = 0.73

method result size
gosper \(-\frac {2 \left (-B c \,x^{3}-3 A c \,x^{2}+3 B a x +A a \right )}{3 x^{\frac {3}{2}}}\) \(29\)
trager \(-\frac {2 \left (-B c \,x^{3}-3 A c \,x^{2}+3 B a x +A a \right )}{3 x^{\frac {3}{2}}}\) \(29\)
risch \(-\frac {2 \left (-B c \,x^{3}-3 A c \,x^{2}+3 B a x +A a \right )}{3 x^{\frac {3}{2}}}\) \(29\)
derivativedivides \(-\frac {2 a A}{3 x^{\frac {3}{2}}}+\frac {2 B c \,x^{\frac {3}{2}}}{3}-\frac {2 a B}{\sqrt {x}}+2 A c \sqrt {x}\) \(30\)
default \(-\frac {2 a A}{3 x^{\frac {3}{2}}}+\frac {2 B c \,x^{\frac {3}{2}}}{3}-\frac {2 a B}{\sqrt {x}}+2 A c \sqrt {x}\) \(30\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((B*x+A)*(c*x^2+a)/x^(5/2),x,method=_RETURNVERBOSE)

[Out]

-2/3*a*A/x^(3/2)+2/3*B*c*x^(3/2)-2*a*B/x^(1/2)+2*A*c*x^(1/2)

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 29, normalized size = 0.71 \begin {gather*} \frac {2}{3} \, B c x^{\frac {3}{2}} + 2 \, A c \sqrt {x} - \frac {2 \, {\left (3 \, B a x + A a\right )}}{3 \, x^{\frac {3}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x^2+a)/x^(5/2),x, algorithm="maxima")

[Out]

2/3*B*c*x^(3/2) + 2*A*c*sqrt(x) - 2/3*(3*B*a*x + A*a)/x^(3/2)

________________________________________________________________________________________

Fricas [A]
time = 2.96, size = 28, normalized size = 0.68 \begin {gather*} \frac {2 \, {\left (B c x^{3} + 3 \, A c x^{2} - 3 \, B a x - A a\right )}}{3 \, x^{\frac {3}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x^2+a)/x^(5/2),x, algorithm="fricas")

[Out]

2/3*(B*c*x^3 + 3*A*c*x^2 - 3*B*a*x - A*a)/x^(3/2)

________________________________________________________________________________________

Sympy [A]
time = 0.22, size = 42, normalized size = 1.02 \begin {gather*} - \frac {2 A a}{3 x^{\frac {3}{2}}} + 2 A c \sqrt {x} - \frac {2 B a}{\sqrt {x}} + \frac {2 B c x^{\frac {3}{2}}}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x**2+a)/x**(5/2),x)

[Out]

-2*A*a/(3*x**(3/2)) + 2*A*c*sqrt(x) - 2*B*a/sqrt(x) + 2*B*c*x**(3/2)/3

________________________________________________________________________________________

Giac [A]
time = 0.59, size = 29, normalized size = 0.71 \begin {gather*} \frac {2}{3} \, B c x^{\frac {3}{2}} + 2 \, A c \sqrt {x} - \frac {2 \, {\left (3 \, B a x + A a\right )}}{3 \, x^{\frac {3}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x^2+a)/x^(5/2),x, algorithm="giac")

[Out]

2/3*B*c*x^(3/2) + 2*A*c*sqrt(x) - 2/3*(3*B*a*x + A*a)/x^(3/2)

________________________________________________________________________________________

Mupad [B]
time = 1.05, size = 29, normalized size = 0.71 \begin {gather*} -\frac {-2\,B\,c\,x^3-6\,A\,c\,x^2+6\,B\,a\,x+2\,A\,a}{3\,x^{3/2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((a + c*x^2)*(A + B*x))/x^(5/2),x)

[Out]

-(2*A*a + 6*B*a*x - 6*A*c*x^2 - 2*B*c*x^3)/(3*x^(3/2))

________________________________________________________________________________________